package com.ggkt.collection;

import java.util.HashMap;
import java.util.Map;

public class MapDemo {
    public static void main(String[] args) {
        Map map = new HashMap();
        map.put(1,1234);
        map.put(2,2234);
        map.put(3,334555);
        map.put(4,1234);
        map.put(5,12345);
        System.out.println(map);
        map.put("country","China");
        System.out.println(map);

        System.out.println(map.get("a"));
        System.out.println(map.get("country"));
    }
}
